#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2023-11-13 11:04:25
# @Author  : Figo Young figoyoung@163.com
# @Version : $Id$

from PIL import Image,ImageFilter
path = R'G:\Business documents\PyExer\ebook-copy\output_files\06.png'
path2 = R'G:\Business documents\PyExer\ebook-copy\output_files\111.jpg'
img = Image.open(path)
img3 = Image.open(path2)
w,h = img.size
img = img.resize((w//2,h//2))
img2 = Image.new('RGB',(w,h))
img2.paste(img3,(10,10))
# img3 = img.filter(ImageFilter.GaussianBlur)
# img2 = img2.paste(img3,(w,0))
img2.show()